<?php

namespace app\backend\validate;

use think\Validate;

class RixibaoValidate extends Validate
{
    protected $rule = [
        'page' => 'integer',
        'limit' => 'integer'
    ];

    protected $message = [
        'page.integer' => '页码格式错误',
        'limit.integer' => '条数格式错误'
    ];

    protected $scene = [
        'index' => ['page','limit']
    ];
}
